//
//  YWRequestHeaderTool.h
//  StockNumber1
//
//  Created by yellow on 2019/9/26.
//  Copyright © 2019 YW. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "YWRequestHeaderParam.h"
#import "YWRequestHeaderStatus.h"

NS_ASSUME_NONNULL_BEGIN

@interface YWRequestHeaderTool : NSObject

/**
 *  @param param   请求参数,请求参数应该由外面决定
 *  @param success 请求成功后的回调
 *  @param failure 请求失败后的回调
 */

+ (void)requestHeaderStatusesWithParameters:(YWRequestHeaderParam *)param success:(void(^)(YWRequestHeaderStatus *status))success failure:(void(^)(NSError *error))failure;



@end

NS_ASSUME_NONNULL_END
